﻿using SocketIOClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace nfconsole
{
    class Program
    {
        static async Task Main(string[] args)
        {
            var client = new SocketIO("wss://192.168.3.102:3000/user");
            //System.Net.ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) =>
            //{
            //    Console.WriteLine("免证书装逼");
            //    // Note it will ignore all SSL errors
            //    return true;
            //};
            await client.ConnectAsync();
            Console.ReadKey();
        }
    }
}
